// 手机号正则
export const mobileRules = [
  { required: true, message: '请输入手机号' },
  { pattern: /^1[3-9]\d{9}$/, message: '手机号不合法' }
]
// 密码正则
export const passwordRules = [
  { required: true, message: '请输入密码' },
  { pattern: /^\w{8,24}$/, message: '密码需8-24个字符' }
]
// 验证码正则
export const codeRulse = [
  { required: true, message: '请输入验证码' },
  { pattern: /^\d{6}$/, message: '验证码错误' }
]
